import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import HotShops from '@/components/HotShops'
import Recommend from '@/components/Recommend'
import DineTime from '@/components/DineTime'
import FoodHot from '@/components/FoodHot'
import Business from '@/components/Business'
import QualityShops from '@/components/QualityShops'
import UserLevel from '@/components/UserLevel'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/hotshops',
      name: 'HotShops',
      component: HotShops
    },
    {
      path: '/recommend',
      name: 'Recommend',
      component: Recommend
    },
    {
      path: '/dinetime',
      name: 'DineTime',
      component: DineTime
    },
    {
      path: '/foodhot',
      name: 'FoodHot',
      component: FoodHot
    },
    {
      path: '/userlevel',
      name: 'UserLevel',
      component: UserLevel
    },
    {
      path: '/business',
      name: 'business',
      component: Business
    },
    {
      path: '/qualityshops',
      name: 'qualityshops',
      component: QualityShops
    }
  ]
})
